# -*- mode: snippet -*-
# name: arr.map(function(item, i, arr) {...})
# key: mapfu
# uuid: mapfu
# --
`(unless (eq (char-before) ?.) ".")`map(function(${1:item}, ${2:i}, ${3:arr}) {
    `(doom-snippets-format "%n%s%n")`$0
})`(if (eolp) ";")`